Nonlinear Curve Fitting In R Using Mosaic And Nls